import CustomPayment from '@/components/custom-payment/custom-payment.vue'
import CustomSection from '@/components/custom-section/custom-section.vue'
import AuthPage from '@/components/auth-page/auth-page.vue'

// 扩展 vue 模块声明
declare module 'vue' {
  // 扩展全局组件类型
  export interface GlobalComponents {
    // 全局组件名称: typeof 组件
    'custom-payment': typeof CustomPayment
    'custom-section': typeof CustomSection
    'auth-page': typeof AuthPage
  }
}

// 导出组件实例类型
export type CustomPaymentInstance = InstanceType<typeof CustomPayment>
